const fs = require("fs/promises");
const path = require("path");
const p = fs.open(path.resolve(__dirname, "./text.txt"), "r+");
p.then((fd) => {
	for (let i = 0; i < 10; i++) {
		fd.writev([new Uint8Array([97, 98, 99])], 0);
	}
});
